package com.bigpang.framework.redis;

import redis.clients.jedis.Jedis;

/**
 * @Author YongQiang
 * @Date 2021/6/3 15:36
 * @Version 1.0
 */
public class Main {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("10.130.132.137",6379);
        jedis.set("jedistestkey", String.valueOf(System.currentTimeMillis()));
        String jedisTestValue = jedis.get("jedistestkey");
        System.out.println(jedisTestValue);
        jedis.close();
    }
}
